package com.youka.bussiness.dao.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;

import java.time.LocalDateTime;
import java.math.BigDecimal;

import lombok.EqualsAndHashCode;


/**
 * 管理员 表实体
 *
 * @author lfc
 * @date 2024-06-30 16:47:28
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("sys_admin")
public class SysAdmin extends Model<SysAdmin> {
private static final long serialVersionUID=1L;

    
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
        
    /**
     * 账号名
     */
    private String name;
        
    /**
     * 密码
     */
    private String password;
        
    /**
     * 状态
     */
    private String status;
        
    /**
     * 登录时间
     */
    private LocalDateTime loginTime;
        
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime creTime;
        
    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updTime;
    }
